
#include <iostream> 
#include "httpserver.h"

//int func(const QStringList& type, const QByteArray& req, QByteArray& ans)
//{
//	std::cout << QString(req).toStdString() << std::endl;
//	return 0;
//}

#include <QtWidgets/QApplication>
#include "test.h"

int main(int argc, char* argv[])
{
	QApplication app(argc, argv);
	std::cout << "start" << std::endl;
	Test w;
	w.show();
	//auto ser = new HttpServer(nullptr);
	//ser->RegisterServerFunc(func);
	//ser->StartSever("127.0.0.1", 8088);
	return app.exec();;
}